<?php

	/***************************\
	*							*
	*	Config file.			*
	*							*
	\***************************/
	
	//Declared constants.
	
	//DB constants.

	//CSV
	define("CSV_PATH", "https://code.google.com/p/quimeraengine/issues/csv?can=1&start=1&num=1000&colspec=ID%20Status%20Owner%20Closed%20Score%20Cc&groupby=&sort=-closed");
	define("ROW_SEPARATOR", ";");
	define("CSV_SEPARATOR", ",");
	define("DONE", "done");

	//DB connection.
	define ("MYSQL_HOST","mysql:host=localhost;dbname=quimeraRank");
	define ("USER","www-data");
	define ("PWD","www-data");

	//Data CSV DB table.
	define("DATA_CSV_TABLE", "qr_datacsv");
	define("ID_FIELD", "issueId");
	define("OWNER_FIELD", "owner");
	define("CLOSED_FIELD", "closed");
	define("CLOSEDTIMESTAMP_FIELD", "closedTimestamp");
	define("SCORE_FIELD", "score");
	define("CC_FIELD", "cc");

	//Data session DB table.
	define("SESSION_TABLE", "qr_session");
	define("SESSION_TOKEN_FIELD", "tokenDB");

	//Google OAuth 2.0 credentials
	define("APPLICATION_NAME", "Quimera Rank");
	define("CLIENT_ID", "***.apps.googleusercontent.com");
	define("CLIENT_SECRET", "***");
	define("REDIRECT_URI", "?");
	define("DEVELOPER_KEY", "***");
	
	//Authenticator mail
	define("VERIFICATION_MAIL", "elizerox@gmail.com");

	//HOME
	define("HOME", "http://localhost/index.php");
	
	// Template
	define("TEMPLATE_NAME", "default");
	
	//Project info
	define("WEB_TITLE", "Quimera Engine - Collaborator Ranking");
	define("PROJECT_URL", "http://quimeraengine.org");
	define("RULES_URL", "http://wiki.quimeraengine.org/doku.php?id=en:developers:workflow:ranking");

?>